package com.example.safeassistan;


import java.util.List;

public class UserInfoModel {


    /**
     * success : true
     * message : 操作成功！
     * code : 0
     * result : {"id":"1401100322343854081","realname":"父订单","username":"f1","password":"82d1975e0d905879","departIds":"39579537272946649ff973486593310b","departName":"住院部","avatar":"http://shaungyufang.oss-cn-beijing.aliyuncs.com/upload/IMG_20210616_15171046_1623827860829.jpg","phone":"18695876903","post":"1401099613703610369","postName":"住院部主任","configsVOS":[{"keyName":"ls_lec","valueName":"1"},{"keyName":"ls_xj","valueName":"1"},{"keyName":"ls_ps","valueName":"1"},{"keyName":"ls_jc","valueName":"1"},{"keyName":"ls_yh","valueName":"1"}]}
     * timestamp : 1624532709691
     */

    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO {
        /**
         * id : 1401100322343854081
         * realname : 父订单
         * username : f1
         * password : 82d1975e0d905879
         * departIds : 39579537272946649ff973486593310b
         * departName : 住院部
         * avatar : http://shaungyufang.oss-cn-beijing.aliyuncs.com/upload/IMG_20210616_15171046_1623827860829.jpg
         * phone : 18695876903
         * post : 1401099613703610369
         * postName : 住院部主任
         * configsVOS : [{"keyName":"ls_lec","valueName":"1"},{"keyName":"ls_xj","valueName":"1"},{"keyName":"ls_ps","valueName":"1"},{"keyName":"ls_jc","valueName":"1"},{"keyName":"ls_yh","valueName":"1"}]
         */

        private String id;
        private String realname;
        private String username;
        private String password;
        private String departIds;
        private String departName;
        private String avatar;
        private String phone;
        private String post;
        private String postName;
        private List<ConfigsVOSDTO> configsVOS;
        private String qymc;
        private String companyImg;

        public String getQymc() {
            return qymc;
        }

        public void setQymc(String qymc) {
            this.qymc = qymc;
        }

        public String getCompanyImg() {
            return companyImg;
        }

        public void setCompanyImg(String companyImg) {
            this.companyImg = companyImg;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getRealname() {
            return realname;
        }

        public void setRealname(String realname) {
            this.realname = realname;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getDepartIds() {
            return departIds;
        }

        public void setDepartIds(String departIds) {
            this.departIds = departIds;
        }

        public String getDepartName() {
            return departName;
        }

        public void setDepartName(String departName) {
            this.departName = departName;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getPost() {
            return post;
        }

        public void setPost(String post) {
            this.post = post;
        }

        public String getPostName() {
            return postName;
        }

        public void setPostName(String postName) {
            this.postName = postName;
        }

        public List<ConfigsVOSDTO> getConfigsVOS() {
            return configsVOS;
        }

        public void setConfigsVOS(List<ConfigsVOSDTO> configsVOS) {
            this.configsVOS = configsVOS;
        }

        public static class ConfigsVOSDTO {
            /**
             * keyName : ls_lec
             * valueName : 1
             */

            private String keyName;
            private String valueName;

            public String getKeyName() {
                return keyName;
            }

            public void setKeyName(String keyName) {
                this.keyName = keyName;
            }

            public String getValueName() {
                return valueName;
            }

            public void setValueName(String valueName) {
                this.valueName = valueName;
            }
        }
    }
}
